Copypasta in singleton pattern