Use workaround to force _factory to be non-null.