Add documentation for setupPortList() now that I modified it.