Added new sample: optimizer-templates