Change JoinOptions? to uint.
Change SwitchParameter? to bool.