Do some documentation in the detection.h