Added overrides object to singleton and factory registration.