Allow detector to be configured dynamically.