Added preconditions to encode assumptions about notes.