[BUGFIX beta] setProperties should handle non-object properties