[PATCH v3 4/7] global_data: Add some more accessors