Added hooks on parser to modify the output externally