FIX Clarify the objective of the loadTemplates function