Fixed finding symbol references.