Replace old utility methods with lodashes