Added add'l type parameter to designate an expected result type for processed vertices.