Merge "Improve DocumentsProvider and contract docs." into klp-dev