Implemented val/var attribute support into parser.