Updated getters and setters into friend.