Templates are stored in nanostores. All hooks, selectors, etc are reworked to reference the nanostore.