Added code for Premium Messaging APIs.