Added the implementation for the IO.