"""Utility functions for the web backend."""