Removed redundant copies