Refactoring.
Orders pdf generation example.