Added BroadcastReceiver functionalities.