removed copySharedAttributes

By implementing Observer, this hack function is no longer required.