Add support for class member variable

supersedes #1417
Without the `todo()` method, an error is generated "TypeError: Cannot read property 'assert' of undefined".

However there is no difference when I compile the code w/ and w/o the method wrt to importing the assert module (which seems to be the root cause).

Any idea ?