Add all-addresses utility
Add some more utility functions.