Strip out needless Attribute bits