Began implementing IO library in terms of regions