Templetize score_xxx() functions

So to be style-wise aligned with the corresponding
generate() functions.

No functional change.