Flesh out a number of functions.