Add structure detection listeners.
Correct compilation error in HollowCubeDetector.