BugFix: make code run when Detector module is missing