[PATCH 4/6] global_data: Add some more accessors