addConfig now honors defaultToSingletons if singleton is left blank