Added forgotten check.cpp files.