Extract some couch code from Link to Model