Docfix for #1426
Merge pull request #2101 from Yiivgeny/CBehavior-compability-fixes

Docfix for #1426