Method getObjectInfo needs to be public