Refactor check's helper methods.
Exctract method in helper class.
Fix quality flaws: remove unused parameters.