Removing unneeded style parts