Fixed the asynchronous stuff.