Add constness to MapEntities.