Correct remove attributes set on provider definition