Boilerplate code.