Added support for Spart Streaming