Replace all the old Specification hashing code with annotations on Schema.