Tweaks to links api.