Fixing copy/paste attribute errors.