Fixing node types so that i/o behaves as expected.