Add export attributes method