Add support for stylesheet change detection.