Looking at code with a singleton pattern.