Added reset() and panic() methods to IOPort.