Added system io routines.