Upgraded skeleton of command processor.