Some LinkModel changes to use model instead of node.