FWIW, I preferred the approach you recommended using an `Elgg_Globals` class.