Removed unnecessary code from web service