Adding class materials