Complement as a regulator of adaptive immunity