Fixes warning about mismatched class on Link model