Made asynchronous write calls to the database possible.