Updated Collection Service to use the collection API.