forEach now throwing an exception