Removed realm handling