Fix for parsing scope, reference, extends and key attributes in
message/property.
Copy scope and extends when copying message.