Do some more checks on templates