Commands are guaranteed to be ICommand, not CommandBase.