Swig Template Loader with fallback