Refactored shared functions into us_utils.py.