Created setter for friend class