Implement command framework.