Generate collection with model