Improve body attributes parser.
Add helper class for plugins