Modified for Homebrew.