Quick fix for extract method detection

WIP pull request for #18