       log: function(x){ plv8.elog(NOTICE, x); }
     };
 
-    this.cache = {}
+    plv8.cache = {}
     return 'done'
   $JAVASCRIPT$ LANGUAGE plv8 IMMUTABLE STRICT;
 


Module::_compile = (answer, filename) ->
  dir = path.dirname(filename)
  basename = path.basename(filename, '.coffee')
  module =
    key: "#{dir}/#{basename}"
    filename: filename

      // todo resolve paths
      var mod = _modules[abs_path]
      if(!mod){ throw new Error("No module " + abs_path + " while loading " + JSON.stringify(_current_stack)); }
      if(!mod.cached){
        if(mod.inprogress){ throw new Error("Cyclic dependecy " + abs_path) }
        mod.inprogress = true
        mod.cached = mod.init()
        mod.inprogress = false
      }
      return mod.cached
    }
    this.modules = function(){
