zap_attributes function

Zap attributes