Reduce duplication and complexity for all controllers.