Rewrote render function signature.