Fix classnames not being wrapped properly with @inheritDoc