Examples for Prototype and Singleton patterns