small enhancement of default instance handling which is need for generated factories