Fitting mixed models with known covariance structures.