We might want to make these computed properties on the model instead, but I'm not opposed to it being in the controller.