Allow adding of cssClass to ResourceView