macros to create usual functions : new/delete and init/wipe.