Add some boilerplate setup code.