Cleanup template loaders