Basic examples of singleton pattern.