Implement merging of stylesheets