Add destroy function to emitters.