Created way to configure the global singleton.