Move implicit conversions to separate Command.
Extract common Command base class.