Consistent function syntax.
Add ahead/behind status and tag name parsing.