Add stream state checks to ExposeTo