Added ContactMaterial support.