Automatically discover packages.