Fixed false-negative: factory classes should be resolved