Scene refactoring.