Fixed friend functionality.