Saving templates and template parts