Added a function to get all resources from a collection rather than having to paginate.