Fix crash, remove some useless wrappers for "new".