Extract optimization function to a new class
2 files changed