Implement loss.