Add command type and implicit conversions.