Adding constructors for InputStreams