On the Theory of Covariate-Adaptive Designs.