Making cons = null when dealing with the new parser.
   - had to fix the hash and equals methods to take null into consideration.