It would simplify some things if this took a `List<FunctionInfo>`.