TODO: test on class object & member dictionary