Add some attributes in the class Detection