Rename internal class to stop the wrong destructor from being called