Properly check access to entity and property using the wrapper