Changed how functions are freed