Add functions.