Editing views and refactoring