Expose a callback in render()