Added API for stream management