Add vec and map patterns