EVASS: Added realm_entity function