DRY install_plugins method