Added merge method to collection.