Added support for insert party.