Move cacheResult to Seq