Better handling of user-defined stylesheets