Improvements on tagParser.