Updated toggleClass, addClass, and removeClass.