adding some more API-related features