Endpoint was not working with the "friends" type because this.endpoint
was not valid in the context of the object.