Refactored LinkModel.