What's `apply_functions`?