if trying register abstract command class, a warning is prompted