Refactoring on the ICommandProcessor interface.