Made inaccessible references get NULL for getLink().