Add support for labels

Hi,
I hope it is not too late for this, I've only recently found the time to work on it.

It should add support to labels, I've created the tests looking at the latest documentation.

Cheers,
Davide