Documentation: A function can be passed to render