Added readable stream functionality