synchronize API with Dartling