Introduce clearPeripherals