Change private variable in Object.h to protected