intermediate work (yeah I know...)
Add template minimum sanity checks.