Add basic functions.