code: function(layouts) {
        var currentLayout;
        layouts = layouts.slice(0);
        currentLayout = self.compile(str, layoutFile);
        layouts.push(currentLayout);
        if (useCache) {
          self.cache[layoutFile] = layouts.slice(0);
        }
        cb(null, layouts);
      }
docs: This function returns the current layout stack to the caller