New API functions