Reorganizing export functions.