Fixed implementation of formatting/optimization support for Stylesheets. Got broken through recent changes.
Added another missing piece