Tighten up validator namespace checking, rework registration.