Renaming Realm to EAPRealm. To avoid conflict with PL's Realm type.