Add abstract getters for command types.
Implement more convenient way for the literal command map.