Added a bit of IO stuff, more coming.