Remove unnecessary IO-stuff