Added the target and function fields to a sync cmd.