Add the entity reference function.
Merge branch 'master' of https://github.com/mocha-platform/mocha