Refactored the Matcher class to Pylint's standards.