Add convenience function for listing defined references.