For some applications, particularly in the areas where ones extension cord may vanish, I have gone one step further and just attached the cord directly to the wall wart's two prongs by passing the bared conductors through the holes and wrapping the strands around the prongs.