Updated to compile without io::Decorator