Added function to set property (not add)
When setting property, if value is a collection, set as Vector