Generalize withVAO's type.