Added support for real time messaging.