Remove undefined peripherals