Added an 'elementary' function.