Triggering registration hook on init; Hook up friend relationship.