Turn qparser into a function object.