private function buildResponse($response_type, $method, $status_code, $request_url, array $configuration = [], array $response_data = []) {
    $object = FALSE;
    // Check that a string was passed.
    if (is_string($response_type)) {
      // Check to see if this class exists.
      if (class_exists($response_type)) {
        // Check that this class extends the ContentTypeBase class.
        if (is_subclass_of($response_type, 'BazaarvoiceRequest\\Response\\BazaarvoiceResponseBase')) {
          // Instantiate object of this class.
          $object = new $response_type($method, $status_code, $request_url, $configuration, $response_data);
        }
      }
    }

    return $object;
  }