     /**
      Adds the API Key as a query parameter to the request.
      
-     @param request The outbound NSMutableURLRequest.
+     - parameters:
+        - request The outbound NSMutableURLRequest.
      */
     func addAPIKey(request: NSMutableURLRequest) {
         if let urlString = request.URL?.absoluteString, urlComponents = NSURLComponents(string: urlString) {

    /**
     Generates an authentication code using HMAC-SHA256.
     
     @param request The outbound NSMutableURLRequest used to generate the signature.
     @param timestamp The timestamp used to generate the signature.
     
     @return the encoded signature.
     */
    func generateSignature(request: NSMutableURLRequest, timestamp: String) -> String? {
        if let path = request.URL?.path?.stringByRemovingPercentEncoding, query = request.URL?.query?.stringByRemovingPercentEncoding {

     Any query parameter string should be added to the URL before calling this method,
     and it should NOT contain the API key as it is added here.
     
     - parameters:
        - request The outbound NSMutableURLRequest.
     */
    func encodeRequest(request: NSMutableURLRequest) {
        let timestamp = getCurrentTimeStamp()
