Created decorator for render hooks
Now the render_hooks are declared with a decorator instead of a dictionary in subclasses. The code it's clearer and control is on base class.