Added method for creating map of collections based on their names.