Added `wait_until` method.