Allowing wait() with no args.