     @deployment = deployment
 
     @callbacks = []
-    @scopes = []
+    @_scopes = []
 
     @hull = assign({}, window.Hull, {
       getDocument      : @getDocument

    @iframe = iframe

    sandbox = Object.create(@)
    @scopes.push sandbox
    sandbox.observe(iframe.contentDocument)
    sandbox.autoSizeInterval = null;
    sandbox.hull = assign(@hull, {

  get : ()-> @hull

  destroy: ()=>
    scope.destroy() for scope in @_scopes
    @_scopes = []
    @getObserver().destroy()

module.exports = Sandbox
