Try another way of defining methods on the io object