Patch to allow using other templating languages