Moving where validators are initialized so they don't get created multiple times.