ParserSelector now returns null on error.