 		}
 
 		logger.info('**Sending toast notification\n' + toastData)
-		SendWP7Notification(requestOptions, toastData, userInfo)
-
-	SendWP7TileNotification: (count, author, preview, userInfo) =>
-		parsedUri = url.parse(userInfo.notificationUri)
+		SendWP7Notification(requestOptions, toastData)
+
+	SendWP7TileNotification: (count, author, preview) =>
+		parsedUri = url.parse(@userInfo.notificationUri)
 
 		tileMessage = """<?xml version="1.0" encoding="utf-8"?>
 			<wp:Notification xmlns:wp="WPNotification">

		request.end()

class UserProcessor
	constructor: (@userData, @wnsConfig) ->

	SendWindows8Data: (requestOptions, payload, userInfo) =>
		request = https.request(requestOptions, (res) =>
			res.setEncoding('utf8')
			errorDescription = res.headers['X-WNS-Error-Description']

			""")

class WNSAuthentication
	@error = undefined
	@success = undefined

	constructor: () ->
		@config = new Config()
	Authenticate: (success, error) =>
		@error = error
		@success = success

		unless(@success)
			throw 'Success method not defined for WNS Authentication.'
		unless(@error)
