helpers for the Osgiliath framework