I'm in even worse situation: calling some methods of the host class works fine, while other give this "undefined" error. Leaning towards shared library, but would love to understand why???