Removed unused code from server side.