Document how to implement check mode

Fixes #2410