tweaks: function docs, use default template params