Better way for lazy initialization error.