LPS-45816 create SocialRelationTypes bean to allow overriding
LPS-45816 remove uses of deprecated methods