Suggestions from shellcheck.net.