Added the refrences for collections and also maxResults.

SD-64 : make it work with new api

Added the refrences for collections and also maxResults.