Added the rest of the boilerplate functions.