Removing styling attributes from template