Add some basic functions.