Fix incorrect use of property declaration. Refs #8720.
Merge branch 'feature/8720_generatePyScript_documentation' into develop