assetLibraryTpl and assetTpl are unused local variables. Should they be used?