Introduced the 'templateProperty' option. Created tests.
Updated documentation.