(PE-2329): just warn if dup. is not a class or ns