[#154] Mark `resource_class` as `allow_empty`