Tweaks around loaderData.realm.