Refactor away some of the deprecated input/output port numbers...
Fixes to set_cc_range...