Separate defined from definitions layer. Use defined in diffs
PEP 8
Merge pull request #404 from cmc333333/diff-defined

Add defined terms to diffs