Register CommandHandler.