Fix. Define export functions.