Homework for Singleton pattern.