Renamed FunctionStack to FunctionSet.