Expose Stylesheet.flatten