Refactor
Rename postRender to afterRender