closes #35

All references to `reference` have been moved to `entity`.