Beans and lentils can be high in lectins ("anti-nutrient" protein—gluten is the wheat form of a lectin). They cause problems for most people, and serious trouble for anyone who is sensitive. Proper processing such as overnight soaking can reduce them significantly and make them acceptable for people who are not sensitive. In such a case they would be considered a good carb. But we steer away from them for the above mentioned reasons.