Replace references to MalformedInputException with ParsingException and
remove ConstantFraction