Convert settings to a singleton to prevent it getting called before it
exists.