Parser now validates the input.