Make Y.batch only take promises or values