remove unnecessary method extractions