The basic strategy is to not change any attributes, so the default output is still there, but to instead only add the custom property (which probably should have a better name...), which the template is modified to output additional data from if it is there.

Does that make it clear?