Fix up material specification.