Added support for friendships.