Radically simplified implementation of IOPort.