clean up extract method detector