Replace ES6 methods with LoDash.