Adding `app.__render` hook.