Fixed const-correctness in the parser
Minor updates to documentation
Added before and after filtering plugins
Reformatted code