Type support for classes and general identifiers