Refactor to allow multiple instances of LeapManager.