Implement create function on collection.