Add toggle to clazz api