Added some changes to migration from ActivityStream to StatusMessage