Added toggle without boolean to classes.
Added classes tests.