Update to work with Leap SDK 0.7+