Add a setup function.