Fixed a bug with handling include_docs: use .doc if it's present, not when .value is missing.