Added class FakeStream.