* Sync query.cmd() with changes to command manager interface