Add toggle feature.