Changed properties from copy to assign.

This avoids the following compiler error, guessing assign is right:

Property with 'copy' attribute must be of object type.