NX-390: clean up plugin activation