Liverpool's Alexis Mac Allister and teammates celebrate after their win in the English Premier League soccer match against West Ham United at the London Stadium in London.

Liverpool's Diogo Jota, center, scores his side's fifth goal during the English Premier League soccer match between West Ham United and Liverpool at the London Stadium in London.

Liverpool's Diogo Jota, center, and West Ham's Jean-Clair Todibo vie for the ball during the English Premier League soccer match between West Ham United and Liverpool at the London Stadium in London.

Liverpool's Mohamed Salah, left, shoots in an attempt to score during the English Premier League soccer match between West Ham United and Liverpool at the London Stadium in London.

Liverpool's Trent Alexander-Arnold, center, celebrates with teammates after scoring his side's fourth goal during the English Premier League soccer match between West Ham United and Liverpool at the London Stadium in London.

West Ham's Jarrod Bowen, left, and Liverpool's Alexis Mac Allister vie for the ball during the English Premier League soccer match between West Ham United and Liverpool at the London Stadium in London.

Liverpool's Mohamed Salah, center, celebrates with teammates after scoring his side's third goal during the English Premier League soccer match between West Ham United and Liverpool at the London Stadium in London.

Liverpool's Cody Gakpo, third left, celebrates with teammates after scoring his side's second goal during the English Premier League soccer match between West Ham United and Liverpool at the London Stadium in London.

Liverpool's Luis Diaz, right, celebrates with teammate Cody Gakpo after scoring the opening goal during the English Premier League soccer match between West Ham United and Liverpool at the London Stadium in London.

Liverpool's Curtis Jones kicks the ball during the English Premier League soccer match between West Ham United and Liverpool at the London Stadium in London.