Fixed the server not working with changes in the API.