generic place to add template plugin methods