types will be kept up to date on usage of setDetector, setMatcher, ...