I'd better do that in the controller, callbacks are harder to test and could have side effects. Thoughts?