Implement CommandDefinition mapping.