Add support to links

This was missing in the lib. Check the example.