Retrieve virtualClass for objects.