Bug fix: class members can not be get

Both class fields and methods cannot be get.
This commit fixes this issue.