Updated boilerplate code.