Eliminate unused method from RefChecks.
Avoid name clashes when generating synthetic companion objects.