A note on commenting:

This comment doesn't actually really help me understand the code. I would probably assume that if there was  a block of template attributes at the top of a generic template function that they are handling the common attributes, anyway.

It does, however, add clutter. Before adding comments in the final version of the code, ask yourself a few questions:

- does the comment convey something that is not obvious from looking at the code?
- if the answer is yes, why is the code not obvious?
- if there is no way to make the code more obvious and eliminate the comment, make sure that the comment clearly states what is not obvious and adds nothing more.