Added an interfaces for IO.