Reimplement overrides disable feature in a way that takes into account nesting and threading.