Removed the unused verifyTemplate method.