Improvements to unused helper methods linter

The following discussions from !139028 (merged) should be addressed:

Edited by Peter Leitzen