This probably wants to share some code with `brew uses`.