[PATCH v4 3/8] global_data: Add some more accessors