Remove unnecessary final attributes