Refactor of ImageCollectionViewDataSource.