Updated materials initializer.