   
   /// Maps response data into a model object implementing the Decodable protocol.
   /// Throws a JSONMapping error on failure.
-  public func mapObject<T: Decodable>(_ type: T.Type) throws -> T {
+  public func mapObject<T: Gloss.Decodable>(_ type: T.Type) throws -> T {
     guard
       let json = try mapJSON() as? JSON,
       let result = T(json: json)

  
  /// Maps the response data into an array of model objects implementing the Decodable protocol.
  /// Throws a JSONMapping error on failure.
  public func mapArray<T: Decodable>(_ type: T.Type) throws -> [T] {
    guard
      let json = try mapJSON() as? [JSON]
    else {

  
  /// Maps nested response data into a model object implementing the Decodable protocol.
  /// Throws a JSONMapping error on failure.
  public func mapObject<T: Gloss.Decodable>(_ type: T.Type, forKeyPath keyPath: String) throws -> T {
    guard
      let json = try mapJSON() as? NSDictionary,
      let nested = json.value(forKeyPath: keyPath) as? JSON,
