Move over the internal ports to be a vector rather than C array.