Better way to find uses of a function