Added ability to disable controls.