`addRelated` only looks at methods for related nodes, it should also check `func`s, `interface`s, `type` definitions, function bodies, etc.