Properly check access to entity and property using the wrapper.
Merge pull request #29 from Gizra/entity-access

Properly check access to entity and property using the wrapper.