Updated the CommandProcessor class to support new commands.