Added support for reading multiple objects from single stream