Add validation contracts.