Better handling for array valued attributes