Added render hooks.