What social class were the bishops of the medieval church considered to be in