Added new method ProcessKingCommand.