Added option to customize the wrapper for precompiled templates

Users can use this options to store templates in modules, for example.