Added references. Added a proxy instance to the mod class.