Added possibility to prefetch metadata from the end of the collection.