Changes to fix weird inherited styles that seem to come out of nowhere.