Added before_render & after_render hook
Can be used for pre-processing content