Use a class object for function descriptor instead of a tuple.