Pattern class is now used when parsing.