Added 'optional' template (preliminary implementation)