Protect struct method names against obfuscation

Fixes #158