[Refactoring] Removed old type reference finder code.