     // MARK: Public mutating functions
     
     /// Sets a page of elements for a page index
-    public mutating func set(_ elements: [Element], forPage page: PageIndex) {
+    public mutating func set(_ elements: [T], forPage page: PageIndex) {
         assert(page >= startPage, "Page index out of bounds")
         assert(count == 0 || elements.count > 0, "Can't set empty elements page on non-empty array")
         

    }
    
    /// All elements currently set, in order
    public var loadedElements: [Element] {
        return self.filter{ $0 != nil }.map{ $0! }
    }
    
    // MARK: Initializers

/// mechanisms to scrolling UI elements such as `UICollectionView` and `UITableView`.
///
public struct PagedArray<T> {
    public typealias PageIndex = Int
    
    /// The datastorage
    public fileprivate(set) var elements = [PageIndex: [T]]()
    
    // MARK: Public properties
    
