UC-54 Suggested updates for current pull request

Type hinting Parser here (should always be a parser) which eliminates the check (that used to be below) for ```$parser instanceof Parser```