Implemented CommandExecutor.