Added ability to predefine template loaders and mass resolve template loaders.