Start implementing check-template mode.