Modify interface; add 'unused_packages' function