Add the move and copy functions.