Fixed problems caused by the rebase and added UNUSED to paste's arg.