Stopped spring from crashing if a program has an uninitialized io stream.