A bit ham-fisted, but carry over referenced fields in layers to all sublayers
Merge pull request #4 from cmc333333/master

Fix definitions layer missing "referenced"