extract class: step to delete methods and rely only on the new class