Port documentation from DSL.swift

Relates to #189. Please review.
Same as above.