Remove legacy ability-guessing code.