Protected the friendship model from being modified by others