Four monasteries developed as a source of protection still remain , and each has a church , monks ' quarters and a sturdy high wall .
Ten monasteries developed as a source of protection and still remain .