Update core for profile message.
Merge pull request #176 from gsn/master

Update core for profile message.