Deleting ResourceCategories. Fixing validation of Models.