Sanitized interfaces using streamRef.