     }
     
     // MARK: Helpers
-    fileprivate func loadViewFromNib() {
+    private func loadViewFromNib() {
         self.bundle.loadNibNamed(String(describing: type(of: self)), owner: self, options: nil)
         self.contentView.frame = self.bounds
         self.addSubview(self.contentView)
     }
     
-    fileprivate func setupCollectionView() {
+    private func setupCollectionView() {
         self.registerCellNib()
         self.imageCollectionView.dataSource = self
         self.imageCollectionView.delegate = self
     }
     
-    fileprivate func registerCellNib() {
+    private func registerCellNib() {
         let imageCellNib = UINib(nibName: String(describing: PGImageCarouselCell.self), bundle: self.bundle)
         self.imageCollectionView?.register(imageCellNib, forCellWithReuseIdentifier: String(describing: PGImageCarouselCell.self))
     }
     
-    fileprivate func resetCollection() {
+    private func resetCollection() {
         self.pageIndicator.numberOfPages = self.images.count / (self.gridSize * self.gridSize)
         self.pageIndicator.frame.size = self.pageIndicator.size(forNumberOfPages: self.pageIndicator.numberOfPages)
         self.imageCollectionView.reloadData()

}

// MARK: UICollectionViewDataSource
extension PGImageCarousel: UICollectionViewDataSource {
    public func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
        return self.images.count
    }

        self.sharedInit()
    }
    
    private func sharedInit() {
        self.loadViewFromNib()
        self.setupCollectionView()
    }
