Setting the template data in renderBefore() was not working with the paged plugin.
Removed renderBefore() and added extendTemplateData().
Updated docs and tests.
Bumped version number.