Added a simple parser validation.