Refactor project space.