Move common functions for template use to Packages::Template