Added support for singletons having a constructor that takes an IScope
argument