Fork from https://github.com/YPierru/CollectionsManager