added 2 new methods, 'get_aggregates' and 'get_registries'