Added template rendering feature