Make stream optional for component