support for class name retrieval