Removes unnecessary styles