Added deleteMembership method.