Fixes strdel / memdel and new functions