Fixed export functions.