I'd move this inside the `SearchWordApp` class because that's the only place it's used currently.