code: function(request, parent) {
        var path = expand(dirname(parent), request);
        if (_definedModules.hasOwnProperty(path)) return path;
        path = expand(path, './index');
        if (_definedModules.hasOwnProperty(path)) return path;
        return request;
      }
docs: TODO: Implement this to behave more like the Node environment