Improving the way some relationships are defined in controllers.