Made the library async.