Added support for purchase messages.