Remove pragma
Make destructors virtual