Add support for link custom fields (fixes #42)