Removes unneeded styles