Support case where represented class name differs entity name