Remove obsolete attributes