[Chan masters] were not only highly accomplished practitioners, they were also well versed in literature, history, and Buddhist scholarship.