Hesychius, a Syrian monk, who was reputed to have a knowledge of the future, saw two men in white raiment, the one holding a book and the other some keys, both of which they gave to John. The latter declared that he was the apostle Peter, the former that he was John the theologian. Hesychius told this to the inmates of the monastery, having taken care that it should not reach the ears of John, for fear lest, owing to his great modesty, he might leave the monastery. John also went through severe religious exercises and composed several monastic treatises.