#367 fix detection of overridden methods