Add support for Vec2 and Vec4 attributes