Added setter for membership in Transaction class