Add variant use_implied_anc for reference.
Cleanup.