Move validation anchor helpers to separate module