Added support for distributed compositions in materials