Templated everything