Stream.setAttributes does not seem to be working with the latest erizoClient

I took the latest erizoClient and updating stream Attributes does not work and seems to set its attributes as undefined.
fooStream.setAttributes({ test: 'test' })

Then,

fooStream.getAttributes()
<- undefined

or from a remote user subscribed to the stream:

erizo.remoteStreams.get(fooStreamId).getAttributes()
<-undefined