Export API functions.