Handle entity inheritance