Changes to render functions.