Preserve attributes in lead/lag.
Closes #166