Added object reference tracking.