CGE2: Add necessary tabs in detection.cpp.