Teach revert command to use Target.