Completed friendship functionality.