Added sync method for Backbone collections.