refactor(messageGenerator): thanks, pylint