Speed up parser, thanks to @bwoebi