Allow pact to be extended by a general purpose plugin infrastructure