Note that Parser.apostrophes needs refactoring [ci skip]