Username or EmailPassword
I did not find any mentions of destructors, and the syntax to construct an object is different (PHP uses new keyword, OS doesn't), so I presume you just mean that constructor function is called __construct. That wouldn't be the first time lua-based object model calls it that. E.g.
On the other hand, compare this section of lua documentation to OS page:
I didn't see the destructor.
But the syntax looked similar enough for me to mistake them to be the same.
Fair point though.