Add free() function.
Support restarting.