Declare types for IO streams