Made repositories aware of their entities.
Merge pull request #84 from grounded/structured_proposal

Made repositories aware of their entities.