Cleans up collection set and get