Use `regenerator` instead of `regenerate` consistently