Harmonize link-reading logic.

Eventually this may want to get factored out.