Remove when.chain (deprecated in 1.8.1)