Renamed elements to entities in BaseStore.

Fixes #6