Cache result of DtoFunctionType.