Peripheral.getMethods