Added ability to change enabled state of inputs and outputs