adding this.self to proto