         return nil
     }
     
+    /**
+    *  Retrieves the maximum value in an array.
+    *  @param array The array to source from
+    *  @return Max element in array
+    */
     class func max<T : Comparable>(array: T[]) -> T? {
         var maxVal = array[0]
         for elem in array {

        return nil
    }
    
    class func findIndex<T>(array: T[], iterator: (T) -> Bool) -> Int? {
        for (index, elem : T) in enumerate(array) {
            if iterator(elem) {

        return nil
    }
    
    /**
    *  Gets the first element in the array.
    *  @param array The array to wrap.
    *  @return First element from the array
    */
    class func first<T>(array: T[]) -> T? {
        if array.isEmpty {
            return nil
