Part framework, part boilerplate.