Refactor check scheduler some more.
Update documentation.