Add mime attributes