A bit of cleanup.
Start porting IO open/initialize logic.