Made accept() promisey.