public function removeResource(AbstractResourceFile $resource) {
        if (parent::offsetExists($resource->getMemberId())) {
            parent::offsetUnset($resource->getMemberId());
        }
    }