Setting of class field value is outside DetailsBrowserController::addMetadataToContent() method now.
Metadata structure fields was replaced by method parameters.