Adding io_printf, changing some function names.