Add history recording to injection pattern.
Merge pull request #205 from Patternslib/history-lint

Add history recording to injection pattern.