Completed collections API.
Started the document lib