I don't know why but I feel like some cool redstone could be done if we could detect the books on the enchament tables. Maybe it could be a way to detect if players are nearby or sm.
Detecting enchantment tables