Towards a General Law of Contract door