Add toggle support and improve docs