Cleanup in constructor TransClass().