Implemented new async API.