 					eventManager.emit(@className + "-" + @id, key, value)
 				return retVal
 			@Parse[initKey] = true
+		Parse: Parse = require("parse") or null
 		
 		filter: (obj) ->
 			throw new Error "Could not find Parse. You must do `adaptor.Parse = Parse` - see https://github.com/cprecioso/ractive-adaptor-ractive#installation for more information" unless @Parse?.Object?.prototype?.set?
 			obj instanceof @Parse.Object
+			Parse = @Parse
 		wrap: (ractive, object, keypath, prefixer) ->
 			@init()
 			new WrappedParseObject ractive, object, keypath, prefixer

previousSet = ->

module.exports = adaptor =
		Parse: require("parse") or null
		
		init: ->
			throw new Error "Could not find Parse. You must do `adaptor.Parse = Parse` - see https://github.com/cprecioso/ractive-adaptor-ractive#installation for more information" unless @Parse?.Object?.prototype?.set?

Ractive = require "ractive"
Parse = require("parse")
EventEmitter = require "events"

eventManager = new EventEmitter()
