Added object macros.
Fixed indent. Added copy_motion_task macro.