Please could full ref support be added for streamRef, so that a callback can be passed that runs logic when the ref is available.