Added IsClass() and IsObject() static methods to the base class