Yeah, air. But is there something else?
You could try fences or iron bars. I think their line of sight needs to be unobstructed. Some blocks are classified as transparent for light purposes but that doesn't mean that villagers can see through them.