PortType.{INPUT, OUTPUT} -> PortType.{Input, Output}

This reverts commit 70841b6f69fe547a484e17eeaff9a99dc2e79bcc.