Fixed forgotten References property in the InnerWeaver so it can be used in weavers now

The References property was never set in weavers. This is fixed by this PR.
This should be removed from the PR