Implement command framework from CommonUtils.