 }
 
 
-public func fetchBerryFlavours() -> Promise<[PKMBaseObject]>{
+public func fetchBerryFlavours() -> Promise<PKMPagedObject>{
     return Promise { fulfill, reject in
         let URL = baseURL + "/berry-flavor"
         
-        Alamofire.request(.GET, URL).responseArray { (response: Response<[PKMBaseObject], NSError>) in
+        Alamofire.request(.GET, URL).responseObject() { (response: Response<PKMPagedObject, NSError>) in
             if (response.result.isSuccess) {
                 fulfill(response.result.value!)
             }else{

    }
}

public func fetchBerryFirmnessList() -> Promise<[PKMBaseObject]>{
    return Promise { fulfill, reject in
        let URL = baseURL + "/berry-firmness"
        
        Alamofire.request(.GET, URL).responseArray { (response: Response<[PKMBaseObject], NSError>) in
            if (response.result.isSuccess) {
                fulfill(response.result.value!)
            }else{

// MARK: -
// MARK: Functions

public func fetchBerryList() -> Promise<PKMPagedObject>{
    return Promise { fulfill, reject in
        let URL = baseURL + "/berry"
        
        Alamofire.request(.GET, URL).responseObject() { (response: Response<PKMPagedObject, NSError>) in
            if (response.result.isSuccess) {
                fulfill(response.result.value!)
            }else{
