Added parameter error checking to server.