Keep track of substitution events.
Merge pull request #5 from dget/subs-events

Keep track of substitution events.