Call functions on render.