Re-added regenerator transforms