Basic partial support. Still buggy. Templates namespaced on filename so there are clashes if the same file is used with different selectors by different calls