Singleton class needs to use `getInstance` to get the singleton instance.