The homework is also very useful to have a chance to review topics and ensure understanding of things that maybe he missed in class due to not paying as close attention as he needed to.
It's been very gratifying to see his confidence levels improve and for him to start to self-manage his time or even decide to skip a scooter break because he was on a roll.
Clearly all of these are probably ancillary to the stated purpose of homework and are my own specific situation.