changes to support media items fetching