document use of add_check()

I had to check the source to see how to add custom checks.