- Patch #160395 by dvessel and merlinofchaos: allow theme engine to register theme variable functions.