Added stream construction method to cursor.