Refactoring: move scanner helper to singleton