Adds class in resource