Added spl autoloader for toggle objects.