Checks that run before and after the model call, written in code rather than as more prompt instructions.