Remove unneeded function from the server