Add API for Membership resource.