Implementation of prompt events, and implementation of removePartyMember