Lift some boilerplate out of earlier projects.