Remove deprecated xml attributes