Add definition for delta function.