Refactor SocialNetEntityPackage.mtz