Use the methods in the TargetObjInfo object instead of internal methods.