Allow delayed theme rendering.

To return a function as output, which is called when theme is rendered.