Refactoring focus-oriented parts of projector.