Moved #get_latency to App.