Fixed pure virtual destruction being called.