Added validate method to the material manager