This way we can simplify the controller a little bit, and it'll be easier to write tests for them when we change the code.