Right, max_bonus can be removed.
I'll add a commit for that, and modify this commit to fix the parenthesis style.