get public destructors back only for unit tests