This additions to the paths for handling fucntions... I guess that they are not related with the ComplexValue/StructuredValue stuff. Do they mean that we were missing "capturing" some fields? This is about the "Fixed a few errors detected thanks to 'Parse error returned for unknown fields in XML'" you mention in the PR body?