Remove the code generating the destroy functions.

Since we are using the buffer to pass the parameters we do not
need to handle the memory destruction in the server anymore.
We don't need to copy the parameters anymore in the client.