Web frontend refactoring.