Fixed a bug in the documentation for setAppDefinedFields