Emit destructors to all interfaces

	Fix memory leaks