Refactoring servlets.