 	# * `type` (String): Type of data being sent (`record`, `set` or `alias`).
 	#
 	# * `data` (Object): Specific data being recorded about this person.
-	generateQuery: (type, data) ->
+	_generateQuery: (type, data) ->
 		data._k = @key
 		data._p = @person
 


		queryString = queryParts.join '&'

		@request "#{@query_types[type]}?#{queryString}"

	# ### Record
	# ----------

	# Query the Kissmetrics API
	#
	# `endpoint` (String): URL path (without a leading slash) that will be used
	#   as a Kissmetrics API endpoint.
	request: (endpoint) ->
		httpRequest "https://#{@host}:#{@port}/#{endpoint}"



	# km.alias('evan+newemail@example.com')
	# ```
	alias: (to) ->
		@_generateQuery 'alias', _n: to


	# ### Generate Query
	# #### (Private)
	# ------------------

	# Prepare data to be sent to Kissmetrics by turning it into a URL path
