Transferred all generic functions from paideia_utils to this module; replaced them in paideia_utils with calls to the plugin_utils version