Externalizing directive templates.