Cleanup the plugin model template.