Added a stream getter that returns the actual stream resource.