Added clear styles functionality.