Simplify markup and style rules.