Implement the preRender methods and call them.