code cleanup.

Corrected support for SubscriptionCreated type messages.