Revert change for the each method to fix chaining