Minor reformatting and few comments in io.ts.