Added support for UICollectionView