Use upcasting for all entity types.