suppressWarnings for density call so warnings about passing … don't come through to the user.