Nightshades include a host of reputable veggies and spices: eggplant, potatoes (yes, we know, not so reputable), peppers, tomatoes, tomatillos, pimentos, paprika, cayenne pepper, Tabasco sauce, et al. (Black pepper isn’t included in this list.
As I could pick a pepper and tomato off a plant and eat it I'd keep the nightshades.
Beans on the other hand have to be soaked and cooked to be edible. So I would and do avoid eating mass quantities of legumes.