Changed Friends FriendshipMapper to use hooks instead of multiinstance specific code.