Refactored stylesheet registrations.