Pre-processing handler structure.
New tag format
Bug fixes and improvements.