"""Pure helper functions with no side effects."""