Added the functions.