Move caster select into caster function.