Added templates for cppcheck.