Pass pointer to io_object rather than object itself
xxx
Code cleanup