Refactoring publications collection.