Added weak storage for created objects that are not singletons.