Use package-installed-p instead of require, to make autoloading work.