Updated iofunctions.