Added example for creating a collection.