Added the ability to preserve the other attributes.