Use ObjectRef instead of Object*