Add support for class member variable

supersedes #1417
This comment is out of date. Earlier you kept the PropertyVariableDeclarations in the class body.