Add documentation for CoreObject.assign