ruby streaming and reference support