Completed the Timeout class.