Avoid access to private properties

Requires https://github.com/SemanticMediaWiki/SemanticMediaWiki/commit/16b8f6c4887b692aed089fa42575036c62602a81