Replaced timeouts with success callbacks.