Begin writing some of the basic functions.