The cp (port) struct has been changed to a class (Port).