Added method for toggling enable and disable.