Revert "Added debugging helper method for finding references."

This reverts commit 7e1e51d1804c3571a4016ac3b1314bac55220e64.