Compatbility for nodejs#diet.