Minimize port.{h,cc}.