Register templates as a module