Added stream api