Added database (MongoDB) support for stream providers.