Process entities in messages.