`entity()` could return `EntityInternal`, and then could call `entity().getManagementContext()`. Currently it's quite an ugly chain required for these calls. One to think about later...