Implement CommandHandler