Singleton and prototype scope