Moving methods findPortByXXX into the port instance classes