Update basic APIs and tests.