Initial work on ContractBehaviour system.