Implemented a lazy initialization scheme. Experimental.