I just updated my copy of the SDK from a version in January 2021 (where can I find the version number?) to the latest version and I see that the method getPermission() has been removed. I'm calling $client->getTemplates() and then iterating through each document returned. When I call $document->getPermission(), I get an "undefined method" error. Is there an equivalent in the latest version?