Call finish_transfer() with its new arg. Also put the externs