Map output ports as well as input ports.