cached tasks now cache the inputs too.