It would have been a bit cleaner if CLIHandler dealt with this, either by creating and setting the instance, or making updateSettings() public.