Replace `#port` method with `@port` instance variable