Removing some of the io statements.