Fixes for Vectors and Arrays

Fix from Zobo: Use [] notation for dynamic properties.