Allow for setting config loader at runtime.