What form of literature had limited popularity during the Middle Ages