Changed from a static method format in the parsing factory.