register plugins when their functions are defined
explorative development of recursive templating