Fixed removeClass and toggleClass.