uninstall functions for generators/templates (with prefixes)