Uses 1.8.7 compatible method of grabbing the singleton class