Added wait method.