During the Middle Ages, it was used by Orthodox Christian hermits, and later a small church was built at the entrance of the cave, featuring an unusual double layout: one part devoted to Saint Spyridon and one to Saint Nicholas. This unusual layout has led to the construction of the church being associated[by whom?] with Gnostics.[citation needed]