Allow to specify collection object
Removed unnecessary code
Merge pull request #54 from mpowaga/issue12

Allow to specify collection object