Bug fixes
Add collectionSpec