Added ability to create counterparties