Specs for DynamicMaterialProperty

Fixed a bug where it would call a non-prototype function on a prototype object.