If we change this to `f(*built_terms)`, it might simplify some of the other code above.