Oh, snap. Look! I had already refactored this controller quite a lot, but then I did this. So satisfying.