Fix for adding links to REST objects.