Implemented cppcheck.