Organize API functions.