Some extensions to make io more succinct.