PhotoProcessor refactoring.