The Prevention Principle and the Doctrine of Penalties: Uniformity and Freedom of Contract