Impl. move function.