src/contracts: Modification of contract weaving