Removed warnings from servlets.