BUG: Fixed the injection of named services.