Define the Func type