Add QuadFunction.