Continuation of the refactor: module for wrapping the precompiled templates with boilerplate code for reviving them.