Adding ability to return list of templates.
Adding REST API resource for list of available templates.