Refactored analysers to pass down config.